<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 页面标题：包含核心业务关键词，利于SEO -->
    <title>VTB银行开户及跨境收付款服务-专业解决对俄收款问题</title>
    <!-- 页面描述：简要说明服务内容和优势，吸引用户点击 -->
    <meta name="description" content="提供VTB银行快速开户、中俄跨境收付款服务，支持卢布/人民币结算，1-3个工作日到账，合规安全有保障。">
    <!-- 关键词：核心业务相关词汇，优化搜索引擎排名 -->
    <meta name="keywords" content="VTB银行开户,中俄跨境收付款,卢布人民币结算">
    <!-- 内联基础样式：包含关键渲染路径样式，减少阻塞 -->
    <style>
        :root {
            --primary-color: #1E88E5; /* 蓝色主色调 */
            --secondary-color: #388E3C; /* 绿色辅助色 */
        }
        .banner { background: var(--primary-color); }
        .btn { color: white; }
        .fade-in { animation: fadeIn 0.6s ease-out forwards; opacity: 0; }
        @keyframes fadeIn { to { opacity: 1; } }
        .skip-link { /* 无障碍跳过链接：允许键盘用户直接跳转到主要内容 */
            position: absolute; top: -40px; left: 0;
            background: #1E88E5; color: white; padding: 8px; z-index: 100;
        }
        .skip-link:focus { 
            top: 0;
            border: 2px solid #FF9800;
            border-radius: 4px;
            box-shadow: 0 0 10px rgba(0,0,0,0.2);
            z-index: 1000;
        }
    </style>
    <!-- 外部CSS：主要样式表，包含大部分页面样式 -->
    <link rel="stylesheet" href="assets/css/main.css">
</head>
<body>
    <!-- 无障碍跳过链接：指向主要内容区域 -->
    <a href="#core-services" class="skip-link" data-i18n="placeholder.skipToContent">跳转到主要内容</a>
    
    <!-- 头部容器：通过JS动态加载导航组件 -->
    <header id="main-header"></header>

    <!-- 横幅区域：展示核心业务价值主张 -->
    <section class="banner">
        <div class="banner-background">
            <div class="banner-overlay"></div>
            <div class="skeleton"></div> <!-- 骨架屏：图片加载前的占位元素 -->
            <!-- 懒加载图片：使用data-src存储真实地址，loading="lazy"原生懒加载 -->
            <img src="" 
                 data-src="/assets/images/banner-bg.webp" alt="中俄贸易场景" class="banner-image lazyload" loading="lazy" width="1920" height="800" onload="this.parentNode.classList.add('loaded')">
        </div>
        <div class="container">
            <h1 data-i18n="banner.title">专业解决对俄收款问题</h1> <!-- 主标题：国际化文本 -->
            <p data-i18n="banner.subtitle">VTB 银行开户及跨境收付款服务 | 稳定渠道・快速到账・合规操作・全球覆盖</p> <!-- 副标题：国际化文本 -->
            <div class="banner-buttons">
                <a href="/pages/vtb-account.html" class="button primary" data-i18n="banner.learnProcess">了解开户流程</a>
                <a href="/pages/contact.html" class="button secondary" data-i18n="banner.freeConsult">免费咨询</a>
            </div>
            <!-- 滚动指示器：引导用户向下滚动查看更多内容 -->
            <a href="#core-services" class="scroll-indicator" tabindex="0">
                <svg aria-hidden="true" width="48" height="48" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M7 10L12 15L17 10" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                </svg>
            </a>
        </div>
    </section>

    <!-- 核心服务区块：展示三大主营业务 -->
    <section class="core-services" id="core-services">
        <div class="container">
            <div class="service-cards">
                <!-- 服务卡片1：VTB开户业务 -->
                <article class="service-card fade-in">
                    <div class="service-icon">
                        <svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">
                            <path d="M3 9L12 2L21 9V20C21 20.5304 20.7893 21.0391 20.4142 21.4142C20.0391 21.7893 19.5304 22 19 22H5C4.46957 22 3.96086 21.7893 3.58579 21.4142C3.21071 21.0391 3 20.5304 3 20V9Z" fill="var(--primary-color)"/>
                            <path d="M9 22V12H15V22" fill="white"/>
                            <path d="M12 8V12" fill="white"/>
                        </svg>
                    </div>
                    <h3 data-i18n="services.vtbAccount.title">VTB开户业务</h3>
                    <ul>
                        <li data-i18n="services.vtbAccount.features.0">快速开户通道：10-35个工作日加急办理</li>
                        <li data-i18n="services.vtbAccount.features.1">专人全程跟进，提供一对一服务</li>
                        <li data-i18n="services.vtbAccount.features.2">已帮助500+企业成功开户</li>
                    </ul>
                    <a href="/pages/vtb-account.html" class="button primary">了解详情</a>
                </article>
                <!-- 服务卡片2：中俄收付款 -->
                <article class="service-card fade-in">
                    <div class="service-icon">
                        <svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">
                            <circle cx="12" cy="12" r="10" fill="var(--secondary-color)"/>
                            <path d="M12 2V6M12 18V22M4.93 4.93L7.76 7.76M16.24 16.24L19.07 19.07M2 12H6M18 12H22M4.93 19.07L7.76 16.24M16.24 7.76L19.07 4.93" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                        </svg>
                    </div>
                    <h3 data-i18n="services.chinaRussiaPayment.title">中俄收付款</h3>
                    <ul>
                        <li data-i18n="services.chinaRussiaPayment.features.0">卢布/人民币双向结算，实时汇率转换</li>
                        <li data-i18n="services.chinaRussiaPayment.features.1">平均到账时效2.1个工作日</li>
                        <li data-i18n="services.chinaRussiaPayment.features.2">合规解决方案，规避汇率风险</li>
                    </ul>
                    <a href="/pages/china-russia-payment.html" class="button primary">了解详情</a>
                </article>
                <!-- 服务卡片3：全球结算方案 -->
                <article class="service-card fade-in">
                    <div class="service-icon">
                        <svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">
                            <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 15h-2v-6h2v6zm0-8h-2V7h2v2z" fill="var(--secondary-color)"/>
                        </svg>
                    </div>
                    <h3 data-i18n="services.globalPayment.title">全球结算方案</h3>
                    <ul>
                        <li data-i18n="services.globalPayment.features.0">支持10+主流币种，覆盖200+国家地区</li>
                        <li data-i18n="services.globalPayment.features.1">跨境结算网络，降低中间环节成本</li>
                        <li data-i18n="services.globalPayment.features.2">定制化国际贸易支付解决方案</li>
                    </ul>
                    <a href="/pages/global-payment.html" class="button primary">了解详情</a>
                </article>
            </div>
        </div>
    </section>
    <!-- 页脚容器：通过JS动态加载页脚组件 -->
    <footer id="main-footer"></footer>

    <!-- IntersectionObserver polyfill：为旧浏览器提供IntersectionObserver支持 -->
    <script src="https://unpkg.com/intersection-observer@0.12.0/intersection-observer.js" nomodule></script>
    <!-- 合并后的应用脚本 -->
    <script src="/assets/js/app.js" defer></script>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 加载头部组件并初始化相关功能
            componentLoader.loadComponent('header', document.getElementById('main-header'), function() {
                componentLoader.initNavActiveState();
                componentLoader.initLanguageSwitcher();
                componentLoader.initMobileNav();
                
                // 组件加载完成后初始化header动画观察
                initHeaderAnimation();
            });

            // 新增：加载footer
            componentLoader.loadComponent('footer', document.getElementById('main-footer'), function() {
                console.log('footer加载成功');
            });

            // 通用IntersectionObserver封装：创建交叉观察器实例
            const createObserver = (selector, callback, options = { threshold: 0.1 }) => {
                if (!"IntersectionObserver" in window) return;
                const observer = new IntersectionObserver((entries, observer) => {
                    entries.forEach(entry => {
                        if (entry.isIntersecting) {
                            callback(entry.target);
                            observer.unobserve(entry.target);
                        }
                    });
                }, options);
                document.querySelectorAll(selector).forEach(el => observer.observe(el));
                return observer;
            };

            // 图片懒加载优化：使用IntersectionObserver实现图片按需加载
            createObserver('img.lazy-load', (img) => {
                img.src = img.dataset.src;
                img.onerror = () => img.src = '/assets/images/default-image.jpg'; // 图片加载失败时显示默认图
            });
        });
        
        // 移动端右滑返回优化：监听触摸事件实现手势返回功能
        let startX, startY;
        const handleTouchStart = (e) => {
            startX = e.touches[0].clientX;
            startY = e.touches[0].clientY;
        };
        
        const handleTouchMove = (e) => {
            if (!startX) return;
            const endX = e.touches[0].clientX;
            const endY = e.touches[0].clientY;
            const diffX = startX - endX;
            const diffY = Math.abs(startY - endY);
            if (diffX > 50 && diffY < 50) { // 水平滑动距离>50px且垂直滑动<50px时触发返回
                window.history.back();
            }
            startX = 0;
        };
        
        document.addEventListener('touchstart', handleTouchStart, { passive: true });
        document.addEventListener('touchmove', handleTouchMove, { passive: true });
        
        // 页面卸载时移除事件监听：防止内存泄漏
        window.addEventListener('beforeunload', function() {
            document.removeEventListener('touchstart', handleTouchStart);
            document.removeEventListener('touchmove', handleTouchMove);
        });
        
        // 移动端导航切换：点击汉堡菜单切换导航显示状态
        document.querySelector('.mobile-nav-toggle').addEventListener('click', function() {
            document.querySelector('.main-nav').classList.toggle('active');
        });
    </script>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 初始化业务咨询表单提交处理
            handleFormSubmit('business-inquiry-form', 'form-success', 'form-error');
        });
    </script>
    <script>
        // 初始化header滚动动画：当header进入视口时添加淡入动画
        function initHeaderAnimation() {
            let navAnimated = false;
            const header = document.querySelector('header');
            if (!header) return;
            
            const headerObserver = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting && !navAnimated) {
                        header.classList.add('fade-in');
                        navAnimated = true;
                    }
                });
            }, { threshold: 0.1 });
            
            headerObserver.observe(header);
        }

        // 滚动动画优化：服务卡片进入视口时依次添加淡入动画
        let sectionAnimated = false;

        const observeElements = () => {
            const serviceCards = document.querySelectorAll('.service-card');
            
            const cardsObserver = new IntersectionObserver((entries) => {
                entries.forEach((entry, index) => {
                    if (entry.isIntersecting && !sectionAnimated) {
                        setTimeout(() => { // 每个卡片延迟100ms动画，形成序列效果
                            entry.target.classList.add('fade-in');
                        }, index * 100);
                        if (index === serviceCards.length - 1) sectionAnimated = true;
                    }
                });
            }, { threshold: 0.1 });
            
            serviceCards.forEach(card => cardsObserver.observe(card));
        };

        document.addEventListener('DOMContentLoaded', observeElements);
        window.addEventListener('load', observeElements);
    </script>
</body>
</html>